//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package study.API;

import java.math.BigDecimal;
import java.math.RoundingMode;

public class bigDecimal {
    public bigDecimal() {
    }

    public static void main(String[] args) {
        BigDecimal bd1 = new BigDecimal(0.01);
        BigDecimal bd2 = new BigDecimal(0.1);
        BigDecimal bd3 = new BigDecimal("0.01");
        BigDecimal bd4 = new BigDecimal("0.09");
        BigDecimal bd5 = bd3.add(bd4);
        BigDecimal bd6 = BigDecimal.valueOf(10L);
        BigDecimal bd7 = BigDecimal.valueOf((double)10.0F);
        BigDecimal bd8 = BigDecimal.valueOf((double)3.0F);
        bd1.add(bd2);
        bd1.subtract(bd2);
        System.out.println(bd4);
        System.out.println(bd5);
        bd1.divide(bd2, 2, RoundingMode.HALF_UP);
        System.out.println(bd6);
    }
}
